let mongoose=require("mongoose")

mongoose.connect("mongodb+srv://2646913310:zwz16663044611@cluster0.fx3psu7.mongodb.net/goshops")

mongoose.connection.on("connected",()=>{
    console.log("数据库连接成功")
})

// 在下面创建库就可以了.